package com.hoshiicloud.goods.entity.spu;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author linjx on 2019/8/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_goods_gallery")
public class BaseGoodsGallery implements Serializable {

    @TableField("id")
    private Long id;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("gallery_id")
    private Long galleryId;

    @TableField("weight")
    private Integer weight;

    @TableField("is_del")
    private Integer isDel;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("deleted")
    private Integer deleted;
}
